<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <link rel="stylesheet" href="../css/cart.css">
</head>
<body>
    <div class="container">
        <div class="header">
            <img src="../static/images/logo.png" alt="logo">
            <span>用户名</span>
            <button id="product-list">商品页面</button>
        </div>
        <div class="book-list">
            <table>
                <!-- 购物车节点： 遍历购物车数据，生成购物车节点，作为内容添加给tabel -->
            </table>
            <h2>商品总价: <span id="totalPrice">￥0</span></h2>
        </div>

    </div>

    <script src="../js/cart.js"></script>
</body>
</html>